package com.bailian.snails.controller;

import com.bailian.snails.base.ResponseVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaoxu
 * date: Created on 2021/7/20 下午4:13
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping(value = "/ping", method = RequestMethod.GET)
    public ResponseVo heartBeat() {
        return ResponseVo.creObjSucResult("mp-supplier-pass工程心跳检测-成功！");
    }

}
